<%-- 
    Document   : AdminCustomers
    Created on : 1 févr. 2010, 13:21:09
    Author     : JC
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%
            String action;

            try {
                action = (String) getServletContext().getAttribute("action");
            } catch (Exception e) {
                action = "unspecified";
            }
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="../javascript/prototype.js"></script>
        <script type="text/javascript;e4x=1" src="../javascript/customers.js"></script>
        <title>Administration clients</title>
    </head>
    <body>
        <%@include file="MenuBar.jsp" %>
        <% if (action.equals("none")) {%>
        <%@include file="CustomerSelect.jsp" %>
        <% } else if (action.equals("edit")) {%>
        <jsp:include page="CustomerEditForm.jsp"/>
        <%} else if (action.equals("create")) {%>
        <jsp:include page="CustomerCreateForm.jsp"/>
        <%}%>
    </body>
</html>
